const path = require("path");
let pokerPath = path.resolve("poker");
const CopyWebpackPlugin = require("copy-webpack-plugin");
module.exports = {
    configureWebpack: {
        plugins: [
            new CopyWebpackPlugin({
                patterns: [
                    {
                        from: pokerPath,
                        to: "poker",
                    },
                ],
            }),
        ],
    },
    // chainWebpack: (config) => {
    //     config.plugin("copy").use(CopyWebpackPlugin, [{
    //         patterns: [
    //             {
    //                 from: pokerPath,
    //                 to: "poker",
    //             },
    //         ],
    //     }]);
    // },
};
